/**
 * @ClassName Demo02
 * @Description 常量和变量的运算
 * @Author Li
 * @Date 2022/7/31 9:30
 * @ModifyDate 2022/7/31 9:30
 * @Version 1.0
 */
public class Demo02 {
    public static void main(String[] args) {
        byte b1 = 1;
        byte b2 = 2;
        byte b3 = 1 + 2;
        System.out.println(b3);
        // 会编译失败
        /*byte b4 = b1 + b2;
        System.out.println(b4);*/
    }
}
